<#--
Created by IntelliJ IDEA.
User: Alvin
Date: 2017/1/20
Time: 22:13
To change this template use File | Settings | File Templates.
-->
<#import "spring.ftl" as s />
<!DOCTYPE html>
<html lang="en">
<head>
</head>

<body>
<!-- 头部导航 -->
<header class="header navbar-fixed-top">

    <nav class="navbar navbar-default" style="border-radius:0px;border-right:0px;">
        <div class="container-fluid">
            <!-- 导航栏左侧商标 -->
            <div class="navbar-header" class="square_block">
                <div class="logo">Traveler.</div>
            </div>

            <!-- 导航栏  -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav" style="font-size:16px;">
                    <li class="active"><a href="index">首页</a></li>

                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">技术分享<span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="live/chat">视频直播</a></li>
                            <li><a href="#">人脸识别</a></li>
                        </ul>
                    </li>

                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">待开发<span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="#">第一个</a></li>
                            <li><a href="#">第二个</a></li>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <!--data-toggle="dropdown" 注释后没有下拉列表，直接跳转href-->
                        <a href="/games.jsp" class="dropdown-toggle" <#--data-toggle="dropdown"--> role="button" aria-expanded="false">游戏推广<span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="games.jsp">盛大游戏</a></li>
                            <li><a href="#">世纪天成</a></li>
                            <li><a href="#">完美世界</a></li>
                        </ul>
                    </li>
                    <li class="dropdown">
                    <#--data-toggle="dropdown" 注释后没有下拉列表，直接跳转href-->
                        <a href="/community/index.jsp" class="dropdown-toggle" <#--data-toggle="dropdown"--> role="button" aria-expanded="false">社区交流<span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="#">技术讨论</a></li>
                            <li><a href="#">情感交流</a></li>
                        </ul>
                    </li>
                </ul>

                <!-- 登录用户功能信息 -->
                <ul class="nav navbar-nav navbar-right" style="margin:15px;">

                    <!-- 在action中设置user对象，判断是否已经登录 -->
                    <a href="login">登录</a>

                    <b style="color:#0959F5;">xxx</b>,欢迎使用!
                    <b style="color:#0959F5;">xxx</b>,欢迎使用!
                    <form action="logout.action" method="post">
                        <submit value="退出登录"></submit>
                    </form>


                </ul>
            </div>
            <!-- 导航栏结束  -->

        </div>
    </nav>
</header>
<!-- 头部导航结束 -->


</body>
</html>
